package cn.tedu.medicalmanagementsystem.manager.pojo.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.time.LocalDate;
import java.util.Date;

@Data
public class EscortAddParam {
    @ApiModelProperty("陪诊员ID")
    private Long id;
    @NotBlank(message = "真实姓名")
    private String realName;
    @ApiModelProperty(value = "密码")
    private String password;
    @ApiModelProperty(value = "性别")
    private String gender;
    @ApiModelProperty(value = "年龄")
    private Integer age;
    @NotBlank(message = "身份证号不能为空")
    private String idCard;
    @ApiModelProperty(value = "手机号码")
    private String phone;
    @ApiModelProperty(value = "头像")
    private String avatar;
    @ApiModelProperty(value = "资质证书")
    private String certificate;
    @ApiModelProperty(value = "服务次数")
    private Integer serviceCount;
    @ApiModelProperty(value = "平均评分")
    private Double avgRating;
    @ApiModelProperty(value = "个人简介")
    private String profile;
    @ApiModelProperty("审核状态")
    private String status;
    @ApiModelProperty("审核意见")
    private String auditComment;
    @ApiModelProperty("创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private LocalDate createTime;
}
